package com.yuwei.user


import androidx.recyclerview.widget.LinearLayoutManager
import com.alibaba.android.arouter.facade.annotation.Route
import com.yuwei.base.RoutePath
import com.yuwei.common.mvi.BaseViewActivity
import com.yuwei.user.adapter.HelpAdapter
import com.yuwei.user.databinding.ActivityAllHelpBinding
import com.yuwei.user.entity.HelpItemEntity

@Route(path = RoutePath.MODULE_LOGIN_ALL_HELP_ACTIVITY)
class AllHelpActivity : BaseViewActivity<ActivityAllHelpBinding>() {
     lateinit var helpAdapter: HelpAdapter
     var  helpItemEntity= listOf<HelpItemEntity>()
    override fun initView() {
        binding.ivBack.setOnClickListener {
            finish()
        }
        helpItemEntity= listOf(
            HelpItemEntity("如何找回账号/停机换绑?",""),
            HelpItemEntity("手机号等其他方式登录失败",""),
            HelpItemEntity("账号串绑",""),
            HelpItemEntity("修改昵称/签名/头像",""),
            HelpItemEntity("账号解绑/换绑",""),
            HelpItemEntity("账号被盗",""),
            HelpItemEntity("账号注销",""),
            HelpItemEntity("实名认证相关",""),
            HelpItemEntity("机构/音乐人/MCN认证相关",""),
            HelpItemEntity("粉丝互通/视频同步",""),
            HelpItemEntity("账号封禁/评级",""),
            HelpItemEntity("账号其他问题",""),
            HelpItemEntity("为什么微信/QQ注册登录失败?",""),
            HelpItemEntity("抖音安全中心","")
        )
        helpAdapter= HelpAdapter(helpItemEntity)
        binding.rvDevelop.layoutManager=LinearLayoutManager(this)
        binding.rvDevelop.adapter=helpAdapter
    }

    override fun initData() {

    }
}